//
//  VSTreeViewController.h
//  ViewSeer
//
//  Created by LevinYan on 2017/3/21.
//  Copyright © 2017年 LevinYan. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "VSNode.h"

@protocol VSTreeViewControllerDelegate <NSObject>

- (void)treeViewControllerDidSelectNode:(VSNode*)node;

@end
@interface VSTreeViewController : UIViewController

@property (nonatomic, strong) VSNode* rootNode;

@property (nonatomic, weak) id<VSTreeViewControllerDelegate> delegate;

- (void)setSelectedNode:(VSNode*)node;
@end
